package com.dfbz.demo01;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo11_方法的重写与异常的关系 {
    public static void main(String[] args) {

    }
}

class Fu{

    public void method() throws RuntimeException{}
}

class Zi extends Fu{

    public void method() throws MyRuntimeException{}
}